﻿using Furion.DatabaseAccessor;
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IndoorPosition.Server.Core.Entities
{
    [Comment("系统配置参数")]
    public class Configuration : EntityBase
    {
        /// <summary>
        /// 参数名称
        /// </summary>
        [Comment("参数名称")]
        [StringLength(50)]
        public string Name
        {
            get;
            set;
        }

        /// <summary>
        /// 参数关键字
        /// </summary>
        [Comment("参数关键字")]
        [StringLength(50)]
        public string Key
        {
            get;
            set;
        }

        /// <summary>
        /// 参数值
        /// </summary>
        [Comment("参数值")]
        [StringLength(200)]
        public string Value
        {
            get;
            set;
        }
    }
}
